package com.eve.controller.admin;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/admin")
public class indexController {
    @GetMapping("/index")
    public String index(){
        return "admin/index";
    }

    @GetMapping("/edit")
    public String edit(){
        return "admin/edit";
    }

    @GetMapping("/welcome1")
    public String welcome1(){
        return "admin/welcome1";
    }
    @GetMapping("/profile")
    public String profile(){
        return "admin/profile";
    }

    @GetMapping("/welcome")
    public String welcome(){
        return "admin/welcome";
    }
    @GetMapping("/category")
    public String category(){
        return "admin/category";
    }
    @GetMapping("/categoryedit")
    public String categoryedit(){
        return "admin/categoryedit";
    }
}
